package com.mornd.gulimall.apis.coupon.to;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: mornd
 * @dateTime: 2023/8/5 - 7:10
 */

@Getter
@Setter
public class BoundsTo implements Serializable {
    private static final long serialVersionUID = -1;

    /**
     * 商品id
     */
    private Long spuId;

    /**
     * 金币
     */
    @Min(0)
    private BigDecimal buyBounds;

    /**
     * 成长值
     */
    @Min(0)
    private BigDecimal growBounds;
}
